a=input()
b=[]
for g in range(5):
    c=a[g]
    b.append(c)
b=' '.join((i) for i in b )
print(b)
